﻿//
// Created: 2018/7/12
// Author: chenqiang
//
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xproject.Framework.Core;
using System.ComponentModel.DataAnnotations.Schema;

namespace Model.WeiXin
{
    public class  WeiXinToken:IEntity
    {     
       ///<summary>
       ///
       ///<summary>
       public string AppID  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string TokenValue  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public DateTime? CreateTime  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public DateTime? ExprieTime  { get; set; } 
       ///<summary>
       ///0：初始 1：使用中   2：更新中
       ///<summary>
       public int State  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string Source  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string SiteName  { get; set; } 
         
    
       [NotMapped]
        public long Id { get; set; }

        [NotMapped]      
        public EntityState EntityState { get; set; }

        public int CompareTo(object obj)
        {
            throw new NotImplementedException();
        }
    }
}